package com.summer.test;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Stream;

public class testString {
    public static void main(String[] args) {
    String url = "fhskgfhsi.jpg";
        System.out.println(url.substring(0,url.lastIndexOf(".")));
    }
}
